package y23.Apr;

import java.util.Scanner;

public class Integer {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入数字：");
        int n = scanner.nextInt();
        while(n > 9) {
            System.out.println(n % 10);
            n/=10;
        }
        System.out.println(n);
    }
}
